﻿using AutoMapper;
using HuaweiCloud.Dotnet.Samples.Common;
using HuaweiCloud.Dotnet.Samples.ESports.Device.Dto;
using MongoDB.Bson.Serialization.Attributes;

namespace HuaweiCloud.Dotnet.Samples.ESports.Device.Component
{
    public class Step : BaseComponent
    {
        public string? DeviceId { get; set; }
        public int Count { get; set; }
        public DateTime Date { get; set; }
        public Step(string? deviceId, int count, DateTime date)
        {
            DeviceId = deviceId;
            Count = count;
            Date = date;
        }
    }
}
